home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / manage / dist.exe / DUNPACK.EZE / ACTION / SAMPLE3.TCF < prev    next >
Text File  |  1994-01-01  |  983b  |  29 lines

  1. ; --------------------------------------------------
  2. ; Example 3 of TxtMaint Control File for DISTRIBUTOR
  3. ; --------------------------------------------------
  4. ;   This example will make sure the following line:
  5. ;   SHELL=C:\DOS\COMMAND.COM /P /E:1024
  6. ;   appears at the END of the CONFIG.SYS file.
  7. ;   First, the SHELL= line is deleted, if required.
  8. ;   Then it is appended to the file.
  9. ; --------------------------------------------------
  10. ;   Note: The BACKUP command was only used for the
  11. ;         first pass. This saves time.
  12. ; --------------------------------------------------
  13.  
  14. [ Delete CONFIG.SYS:SHELL= ]
  15. file        =   c:\config.sys
  16. backup      =   c:\config.old
  17. token       =   SHELL=
  18. action      =   delete
  19. type        =   complete
  20.  
  21. [ Append CONFIG.SYS:SHELL= ]
  22. file        =   c:\config.sys
  23. token       =   SHELL=
  24. setting     =   SHELL=C:\DOS\COMMAND.COM /P /E:1024
  25. action      =   replaceInsert
  26. type        =   complete
  27. position    =   end
  28.  
  29.